package code.coolbaby.basal.service;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import code.coolbaby.basal.dao.AuthorityDao;
import code.coolbaby.basal.entity.Authority;
import code.coolbaby.core.orm.hibernate.EntityManager;

/**
 * 授权管理类.
 * 
 * @author Kanine
 */
@Service
public class AuthorityManager extends EntityManager<Authority, Long> {
	
	@Autowired
	private AuthorityDao authorityDao;

	@Override
	protected AuthorityDao getEntityDao() {
		return authorityDao;
	}
}
